package com.example.baselibrary.net.http
import com.example.baselibrary.base.BaseBean
import retrofit2.http.*
import kotlin.collections.HashMap
/**
 * Created by yechaoa on 2020/2/4.
 * Describe :
 */
interface Api {
    companion object {
        const val BASE_URL = "http:/yfh.dis.wanheweb.com/"
    }

    /**
     * 发送验证码
     */
    @POST("api/sms/send")
    suspend fun postSmsSend(
        @HeaderMap myHeader: HashMap<String, String>,
        @Body map: Map<String, String>
    ): BaseBean<String>
}